<?
require_once('inc/functions.php');
$conn= GetConnection();
$response = $conn->query("SELECT * FROM fall2012_Users");

print_r($rs);
?>


<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />

		<title>index</title>
		
	</head>

	<body>
		<div>
			<header>
				<h1>index</h1>
			</header>
			<nav>
				<p>
					<a href="/">Home</a>
				</p>
				<p>
					<a href="/contact">Contact</a>
				</p>
			</nav>

			<div>
                  <ul>
                  	<select name="user">
                  	<? while($row = $results->fetch_assoc()): ?>
                  	<option><?=$row['Firstname']?> <?=$row['lastname']?></option>
                  	<?endwhile;?>
                  	
                  	//<? while($rs = $response->fetch_assoc()): ?>
                  	<li><?=$rs['firstname']?> <?=$rs['lastname']?></li>
                  	//<? endwhile; ?>
                  	</ul>
			</div>

			<footer>
				<p>
					&copy; Copyright  by New Paltz
				</p>
			</footer>
		</div>
	</body>
</html>
